//
//  UITextField+Category.h
//  MKDriver
//
//  Created by song zhang on 2019/3/26.
//  Copyright © 2019年 song zhang. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UITextField (Category)
+(UITextField *)creatTextField:(CGRect)frame text:(NSString *)text placeholder:(NSString *)placeholder textColor:(UIColor *)textColor textAlignment:(NSTextAlignment)textAlignment font:(UIFont *)font borderStyle:(UITextBorderStyle)borderStyle clearsOnBeginEditing:(BOOL)clearsOnBeginEditing onView:(UIView *)view;

+(UITextField *)creatTextField:(CGRect)frame text:(NSString *)text placeholder:(NSString *)placeholder textColor:(UIColor *)textColor textAlignment:(NSTextAlignment)textAlignment font:(UIFont *)font borderStyle:(UITextBorderStyle)borderStyle clearsOnBeginEditing:(BOOL)clearsOnBeginEditing onView:(UIView *)view placeholderTextColor:(UIColor *)placeholderTextColor placeholderFont:(UIFont *)placeholderFont;

@end

NS_ASSUME_NONNULL_END
